<div>
	<div class="viewname"><?php echo $producer['Producer']['full_name'];?></div>
	<div class="viewsector"><?php echo $producer['Producer']['sector'];?></div>
</div>
<?php if (!empty($producer['Book'])):?>
<div class="related">
	<h3><?php __('Sanatçının Kitapları');?></h3>
<?php foreach ($books as $item):?>
<div class="product">
<?php 
echo $this->Html->div('product_name', $this->Html->link($item['Product']['name'], array('controller'=>'books', 'action'=>'view', $item['Product']['id'])));
echo $this->Html->div('urunresim', $this->Html->image($item['Product']['image'], array('alt'=>$item['Product']['name'], 'class'=>'urunresim', 'url'=>array('controller'=>'books', 'action'=>'view', $item['Product']['id'])))); 
echo $this->Html->div('producer' ,$item['Producer']['full_name']);
echo $this->Html->div('price' ,$item['Product']['price']." TL");
echo $this->Form->button('Sepete Ekle',array('class'=>'add2cart buton','onclick'=>'add2cart('.$item['Product']['id'].')'));?>
</div>
<?php endforeach;?>
</div>
<?php endif; ?>
<?php if (!empty($producer['Film'])):?>
<div class="related">
	<h3><?php __('Sanatçının Filmleri');?></h3>
<?php foreach ($films as $item):?>
<div class="product">
<?php 
echo $this->Html->div('product_name', $this->Html->link($item['Product']['name'], array('controller'=>'books', 'action'=>'view', $item['Product']['id'])));
echo $this->Html->div('urunresim', $this->Html->image($item['Product']['image'], array('alt'=>$item['Product']['name'], 'class'=>'urunresim', 'url'=>array('controller'=>'books', 'action'=>'view', $item['Product']['id'])))); 
echo $this->Html->div('producer' ,$item['Producer']['full_name']);
echo $this->Html->div('price' ,$item['Product']['price']." TL");
echo $this->Form->button('Sepete Ekle',array('class'=>'add2cart buton','onclick'=>'add2cart('.$item['Product']['id'].')'));?>
</div>
<?php endforeach;?>
</div>
<?php endif; ?>
<?php if (!empty($producer['Music'])):?>
<div class="related">
	<h3><?php __('Sanatçının Eserleri');?></h3>
	<?php foreach ($musics as $item):?>
<div class="product">
<?php 
echo $this->Html->div('product_name', $this->Html->link($item['Product']['name'], array('controller'=>'books', 'action'=>'view', $item['Product']['id'])));
echo $this->Html->div('urunresim', $this->Html->image($item['Product']['image'], array('alt'=>$item['Product']['name'], 'class'=>'urunresim', 'url'=>array('controller'=>'books', 'action'=>'view', $item['Product']['id'])))); 
echo $this->Html->div('producer' ,$item['Producer']['full_name']);
echo $this->Html->div('price' ,$item['Product']['price']." TL");
echo $this->Form->button('Sepete Ekle',array('class'=>'add2cart buton','onclick'=>'add2cart('.$item['Product']['id'].')'));?>
</div>
<?php endforeach;?>
</div>
<?php endif; ?>
